package com.zxy.express.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 成就勋章定义表
 *
 * @author zhangxiying ${email}
 * @since ${version} 2025-07-01
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("achievement")
public class AchievementEntity{
	private static final long serialVersionUID = 1L;

	private Long id;

    /**
     * 成就名称 (如: 练习达人)
     */
	private String name;
    /**
     * 成就描述
     */
	private String description;
    /**
     * 勋章图标URL
     */
	private String iconUrl;
    /**
     * 达成条件类型 (e.g., total_practice_days, specific_material_completion)
     */
	private String conditionType;
    /**
     * 达成条件的值
     */
	private Integer conditionValue;

	private Date createDate;
    /**
     * 
     */
	private Date updateDate;
}